package com.design.ObserverMode.mode;

import com.design.ObserverMode.demo.User;

public class PhoneRegionObserver implements MyRegObserver {
    @Override
    public void regHandler(User user) {
        System.out.println("查询用户手机号码的归属地，保存到数据库,方便发数据部门的同事做数据分析！执行参数："+user);
    }
}